package com.unittec.zk.sdk.auth.request;

import com.unittec.zk.sdk.root.domain.Paging;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author chengjie
 * @description 查询用户分页列表请求实体
 * @date 2019/10/16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Req101101 extends Paging implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户名称")
    private String username;

    @ApiModelProperty(value = "真实姓名")
    private String realname;

    @ApiModelProperty(value = "用户性别(0=未知，1=男，2=女)")
    private String sex;

    @ApiModelProperty(value = "电子邮件")
    private String email;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "用户类型(1=管网采集，2=运维巡检)")
    private String type;

    @ApiModelProperty(value = "用户状态(0=正常，1=冻结)")
    private String status;

    @ApiModelProperty(value = "平台Code")
    private String platformCode;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "部门ID")
    List<String> deptIds;

    @ApiModelProperty(value = "是否递归查询部门用户，默认不递归")
    private Boolean recursionDeptStatus;

}
